﻿
@*
    For more information on enabling MVC for empty projects, visit http://go.microsoft.com/fwlink/?LinkID=397860
*@
<script src="~/js/public/header.js"></script>
<div class="top-bar">
    <div class="w1200">餐饮加盟网(brand.cyt360.com)欢迎您的光临</div>

    @if (this.Context.User.Identity.IsAuthenticated)
    {
        <div><a target="_blank" href="https://localhost:44323/Home/Index">@this.Context.User.Identity.Name</a></div>
    }
    else
    {
        <div><a href="~/Account/Login">登录</a> / <a href="~/Account/Register">注册</a></div>
    }
</div>
<div class="header-bar">
    <div class="w1200">
        <div class="logo-div">
            <a href="#"><img src="~/image/logo.png"></a>
        </div>
        <div class="search-div">
            <div class="search-box">
                <div class="input-div">
                    <input id="search-input" type="text" placeholder="请输入品牌名称">
                </div>
                <button class="searchButton" onclick="clickSearch()">搜索</button>
            </div>
            <div class="hotSearch-div">热门搜索：<a href="javascript:clickSearch('火锅')">火锅</a><a href="javascript:clickSearch('麻辣烫')">麻辣烫</a><a href="javascript:clickSearch('汉堡')">汉堡</a></div>
        </div>
        <div class="button-div">
            <button class="toJoin-button">我要加盟</button>
            <button class="enter-button">我要入驻</button>
        </div>
    </div>
</div>